/**
 * 
 */
package vn.smartware.co.server.dao.factory;

import vn.smartware.co.server.dao.business.ReserveDAO;
import vn.smartware.co.server.dao.initialize.InitializeDAO;
import vn.smartware.co.server.dao.initialize.LoginDAO;
import vn.smartware.co.server.dao.registration.RegisterCustomerDAO;
import vn.smartware.co.server.dao.registration.RegisterDrinkDAO;
import vn.smartware.co.server.dao.registration.RegisterFoodDAO;
import vn.smartware.co.server.dao.registration.RegisterRoomDAO;
import vn.smartware.co.server.dao.search.CommonSearchDAO;

/**
 * DaoFactory
 * @author thuctt
 */
public class DaoFactory {

	/**
	 * create LoginDAO
	 * @return AbstractLoginDAO
	 */
	public static AbstractLoginDAO createLoginDAO(){
		return new LoginDAO();
	}

	/**
	 * create InitializeDAO
	 * @return AbstractInitializeDAO
	 */
	public static InitializeDAO createInitializeDAO() {
		return new InitializeDAO();
	}

	/**
	 * create RegisterRoomDAO
	 * @return AbstractRegisterRoomDAO
	 */
	public static AbstractRegisterRoomDAO createRegisterRoomDAO() {
		return new RegisterRoomDAO();
	}
	
	/**
	 * create RegisterFoodDAO
	 * @return AbstractRegisterRoomDAO
	 */
	public static AbstractRegisterFoodDAO createRegisterFoodDAO() {
		return new RegisterFoodDAO();
	}
	
	/**
	 * create RegisterDrinkDAO
	 * @return AbstractRegisterRoomDAO
	 */
	public static AbstractRegisterDrinkDAO createRegisterDrinkDAO() {
		return new RegisterDrinkDAO();
	}
	
	/**
	 * create CommonSearchDAO
	 * @return AbstractCommonSearchDAO
	 */
	public static AbstractCommonSearchDAO createCommonSearchDAO() {
		return new CommonSearchDAO();
	}
	
	/**
	 * create ReserveDAO
	 * @return AbstractReserveDAO
	 */
	public static AbstractReserveDAO createReserveDAO() {
		return new ReserveDAO();
	}

	/**
	 * createRegisterCustomerDAO
	 * @return AbstractRegisterCustomerDAO
	 */
	public static AbstractRegisterCustomerDAO createRegisterCustomerDAO() {
		return new RegisterCustomerDAO();
	}
}
